package com.freewater.cargotracker.domain.service;

import com.freewater.cargotracker.domain.model.cargo.Itinerary;
import com.freewater.cargotracker.domain.model.cargo.RouteSpecification;

import java.util.List;

/**
 * 使用service封装业务过程：计算航行日程
 */
public interface RoutingService {

    List<Itinerary> findRoutesForSpecification(RouteSpecification specification);
}
